<layout name="../../Admin/View/master"/>


<ul class="breadcrumb no-border no-radius b-b b-light pull-in">
    <li><a href="index.html"><i class="fa fa-home"></i> Home</a></li>
    <li><a href="#">UI kit</a></li>
    <li><a href="#">Form</a></li>
    <li class="active">Elements</li>
</ul>
<div class="m-b-md">
    <h3 class="m-b-none">货品添加</h3>
</div>
<div class="row">
    <div class="col-sm-8">
        <section class="panel panel-default">
            <header class="panel-heading font-bold">货品添加</header>
            <div class="panel-body">
                <form role="form" method="post" action="">
                    <div class="form-group">
                        <label>商品ID</label>
                        <input type="text" readonly name='gid' value="{$good['gid']}" class="form-control">
                    </div>
                    <div class="form-group">
                        <label>商品编号</label>
                        <input type="text" readonly name='number' value="{$good['number']}" class="form-control">
                    </div>
                    <div class="form-group">
                        <label>商品名称</label>
                        <input type="text" readonly name='gname' value="{$good['gname']}" class="form-control">
                    </div>
                    <foreach name="arr2" item="vo" key="k">
                    <div class="form-group">
                        <label>{$k}</label>
                        <select name="style[{$k}]" id="inputID" class="form-control">
                            <option > -- Select One --</option>
                            <foreach name="vo" item="voo">
                                <option value="{$voo}">{$voo}</option>
                            </foreach>
                        </select>
                    </div>
                    </foreach>

                    <div class="form-group">
                        <label>附加价格</label>
                        <input  type="text" name="extroprice" class="form-control">
                    </div>
                    <div class="form-group">
                        <label>库存</label>
                        <input name="stock" type="text" class="form-control">
                    </div>
                    <button type="submit" class="btn btn-sm btn-default">提交</button>
                </form>
            </div>
        </section>
    </div>
</div>


